package edu.spbsu.nonsm00th.qdiff.parser.exception;

import java.text.MessageFormat;

/**
 *
 * @author mbuzdov
 */
public class ArgumentIndexOutOfRangeException extends ParserException {

    public ArgumentIndexOutOfRangeException(int position) {
        super(MessageFormat.format("Wrong argument element (index is too large), position: {0}.", position));
        this.position = position;
    }

}
